package com.bj58.groupbuy.action.model;

import com.bj58.ecat.gb.entity.other.AbstractOtherEntity;
import com.bj58.wf.dal.annotation.AutoId;
import com.bj58.wf.dal.annotation.Id;
import com.bj58.wf.dal.annotation.Table;

/**自定义邮件 - 邮件模板内容
 * @author HL
 */
@SuppressWarnings("serial")
@Table("ie_tablesearch")
@AutoId
public class IETableSearch extends AbstractOtherEntity implements Cloneable{
	
	@Id
	private int id;
	
	private int mainId;
	
	private int tableId;
	
	private String indexs;
	
	private String searchSql;
	
	private int dbId;
	
	private String dbHost;
	
	private String dbName;
	
	private String srcTable;
	
	private String dateField;
	
	private int isCheck;
	
	private int isSpe;
	
	private int state;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getMainId() {
		return mainId;
	}

	public void setMainId(int mainId) {
		this.mainId = mainId;
	}

	public int getTableId() {
		return tableId;
	}

	public void setTableId(int tableId) {
		this.tableId = tableId;
	}

	public String getIndexs() {
		return indexs;
	}

	public void setIndexs(String indexs) {
		this.indexs = indexs;
	}

	public String getSearchSql() {
		return searchSql;
	}

	public void setSearchSql(String searchSql) {
		this.searchSql = searchSql;
	}

	public int getDbId() {
		return dbId;
	}

	public void setDbId(int dbId) {
		this.dbId = dbId;
	}

	public String getDbHost() {
		return dbHost;
	}

	public void setDbHost(String dbHost) {
		this.dbHost = dbHost;
	}

	public String getDbName() {
		return dbName;
	}

	public void setDbName(String dbName) {
		this.dbName = dbName;
	}

	public String getSrcTable() {
		return srcTable;
	}

	public void setSrcTable(String srcTable) {
		this.srcTable = srcTable;
	}

	public String getDateField() {
		return dateField;
	}

	public void setDateField(String dateField) {
		this.dateField = dateField;
	}

	public int getIsCheck() {
		return isCheck;
	}

	public void setIsCheck(int isCheck) {
		this.isCheck = isCheck;
	}

	public int getIsSpe() {
		return isSpe;
	}

	public void setIsSpe(int isSpe) {
		this.isSpe = isSpe;
	}

	public int getState() {
		return state;
	}

	public void setState(int state) {
		this.state = state;
	}

	public IETableSearch clone(){ 
		IETableSearch o = null; 
		try{ 
			o = (IETableSearch)super.clone(); 
		}catch(CloneNotSupportedException e){ 
			e.printStackTrace(); 
		} 
		return o; 
	} 
}
